package demo.blog.service;

import demo.blog.model.Article;

import java.util.List;

public interface ArticleService {
    Article addArticle(Article article);

    Article getArticle(Integer id);

    Article updateArticle(Article article);

    Article deleteArticle(Integer id);

    List<Article> listArticle();

}
